package cn.edu.sdjzu.xg.eagle.controller;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author tg.si@188.com
 * @todo
 * @since 2025/3/28 9:19
 */
@WebServlet("/testServlet")
public class ServletTest extends HttpServlet {
    private static final long serialVersionUID = 1L;

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        super.doGet(req, resp);
        //产生一个School对象
        //转换为json
        //响应到前端
    }
}
